<template>
    <header>
            <van-nav-bar :title="brand" left-text="返回" left-arrow @click-left="onClickLeft" />
        </header>
</template>

<script>

    export default {
        props:['brand'],
        methods:{
            onClickLeft() {
            history.back()
        }
        }
    }
</script>

<style lang="less" scoped>
::v-deep .van-nav-bar__left .van-icon-arrow-left {
    color: pink;
    font-size: 22px;
}
::v-deep .van-nav-bar__title {
    font-size: 18px !important;
    font-weight: 400 !important;
    font-family: PingFang SC !important;
    color: pink !important;
}
</style>